package com.zbkj.common.model.Integral;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author dandelion
 * 2024- 1- 22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_system_parameter")
@ApiModel(value="IntegralParameter对象", description="积分参数配置表")
public class IntegralParameter implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "倍数")
    private BigDecimal multipleParameter;

    @ApiModelProperty(value = "释放比")
    private BigDecimal releaseParameter;

    @ApiModelProperty(value = "贡献值")
    private BigDecimal contributionParameter;
    @ApiModelProperty(value = "首单分享参数")
    private BigDecimal firstShare;

    @ApiModelProperty(value = "普通分享参数")
    private BigDecimal commonShare;
    @ApiModelProperty(value = "首单推广参数")
    private BigDecimal firstPush;

    @ApiModelProperty(value = "重复推广参数")
    private BigDecimal commonPush;


    @ApiModelProperty(value = "绿色积分")
    private BigDecimal greenParameter;
    @ApiModelProperty(value = "手续费")
    private BigDecimal premium;

    @ApiModelProperty(value = "补贴积分")
    private BigDecimal subsidyParameter;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
